class KidneyBean expands FFProjectileDeco;

#exec MESH IMPORT MESH=KidneyBean ANIVFILE=MODELS\KidneyBean_a.3d DATAFILE=MODELS\KidneyBean_d.3d X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=KidneyBean X=0 Y=0 Z=0

#exec MESH SEQUENCE MESH=KidneyBean SEQ=All STARTFRAME=0 NUMFRAMES=1

#exec MESHMAP NEW MESHMAP=KidneyBean MESH=KidneyBean
#exec MESHMAP SCALE MESHMAP=KidneyBean X=1 Y=1 Z=1

#exec TEXTURE IMPORT NAME=KidneyBean FILE=Textures/KidneyTex.pcx GROUP=Skins FLAGS=2
#exec TEXTURE IMPORT NAME=KidneyBean FILE=Textures/KidneyTex.pcx GROUP=Skins PALETTE=KidneyBean
#exec MESHMAP SETTEXTURE MESHMAP=KidneyBean NUM=1 TEXTURE=KidneyBean


////////////////////////////////////////////////////
//////////////////Functions/////////////////////////
////////////////////////////////////////////////////
simulated function HitWall( vector HitNormal, actor Wall )
{
	local vector RealHitNormal;

	Super.HitWall(HitNormal, Wall);
	GotoState('Ending');
}

////////////////////////////////////////////////////
//////////////////States////////////////////////////
////////////////////////////////////////////////////
State Ending
{
Begin:
	Sleep(0.7);
	Destroy();
}
// End Class
//=============================================================================


defaultproperties
{
    DrawType=DT_Mesh
    Mesh=KidneyBean
}
